import {Component, EventEmitter, OnInit, Output} from '@angular/core';

@Component({
  selector: 'app-home',
  templateUrl: './home.component.html',
  styleUrls: ['./home.component.css']
})
export class HomeComponent implements OnInit {

  // @Output() creatTab = new EventEmitter();

  constructor() { }
  moduleList = [{
    routerLink: '/pages/performance-analysis',
    title: '综合性能分析',
    imgSrc: 'assets/images/fyzd_logo.png'
  },{
    routerLink: '/pages/exhibition',
    title: '综合展示',
    imgSrc: 'assets/images/jsc_logo.png'
  }, {
    routerLink: '/pages/condition-monitoring',
    title: '状态监测',
    imgSrc: 'assets/images/jsc_logo.png'
  }];
  exModuleList=[{
    title: '风云驾驶舱',
    imgSrc: 'assets/images/fycabin_logo.png',
    url:'http://10.137.225.190:17799/1_1%E5%85%A8%E5%9B%BD%E5%9C%B0%E5%9B%BE.html'
  },{
    title: '风云指标',
    imgSrc: 'assets/images/fyzb_logo.png',
    url:'http://10.137.225.190:17799/%E6%8C%87%E6%A0%87%E5%85%A5%E5%8F%A3%E9%A1%B5%E9%9D%A2.html'
  }]
  ngOnInit() {
    console.debug('HomeComponent init')
    // this.leadToTab('success')
  }
}
